[SPARK-3379] Implement 'POWER' for sql #2252
Conversation
…into mathematical
|
Can one of the admins verify this patch? |
|
Can one of the admins verify this patch? |
|
ok to test |
|
QA tests have started for PR 2252 at commit
|
|
For reference, how does this implementation of
|
|
Good comparison @nchammas, It odes not look like this implementation currently preserves the input type or supports decimal. |
|
QA tests have finished for PR 2252 at commit
|
There was a problem hiding this comment.
Nit: Let's check if base_v is null first and then compute exponent_v, probably performance gains in some cases.
|
Thanks for working on this, but we are trying to clean up the PR queue (in order to make it easier for us to review). Thus, I think we should close this issue for now and reopen when its ready for review. |
Add support for the mathematical function "POWER" within spark sql. Test-cases included.
Spitted from [SPARK-3176].